execute if predicate bdd:chance/5 run effect give @s poison 15 1
execute if predicate bdd:chance/3 run setblock ~ ~ ~ cobweb
advancement revoke @s only bdd:entity/e_h_p/spider